package com.ow.dva.module.account.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ow.dva.module.base.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 数据观测用， 停车场用户关联表
 * </p>
 *
 * @author zsj
 * @since 2020-05-11
 * @version V1.0
 */
@TableName("dva_account_park")
@ApiModel(value="AccountPark对象", description="数据观测用， 停车场用户关联表")
public class AccountPark extends BaseEntity{

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "账号id")
    private String accountId;

    @ApiModelProperty(value = "停车场id")
    private String parkId;

    @ApiModelProperty(value = "停车场名称")
    private String parkName;

    @ApiModelProperty(value = "账号名")
    private String accountName;

    @ApiModelProperty(value = "区名称")
    private String countyName;

    @ApiModelProperty(value = "市名称")
    private String cityName;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }
    public String getParkId() {
        return parkId;
    }

    public void setParkId(String parkId) {
        this.parkId = parkId;
    }
    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName;
    }
    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }
    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public AccountPark() {
    }

    public AccountPark(String accountId, String parkId, String parkName, String accountName, String countyName, String cityName) {
        this.accountId = accountId;
        this.parkId = parkId;
        this.parkName = parkName;
        this.accountName = accountName;
        this.countyName = countyName;
        this.cityName = cityName;
    }

    public AccountPark(String accountId, String parkId) {
        this.accountId = accountId;
        this.parkId = parkId;
    }

    @Override
    public String toString() {
        return "AccountPark{" +
            "id=" + id +
            ", accountId=" + accountId +
            ", parkId=" + parkId +
            ", parkName=" + parkName +
            ", accountName=" + accountName +
            ", countyName=" + countyName +
            ", cityName=" + cityName +
        "}";
    }
}
